.homeContainer {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #333;
  --webkit-overflow-scrolling: touch;
  height: 100vh;
  overflow-y: scroll;
  padding-bottom: 40px;
}
.homeContainer::-webkit-scrollbar{
  display: none !important;
}

.topBox {
  background: linear-gradient(180deg, #365efc, #4570fd, #54a4fb, #fdfdfd);
}

/* 顶部导航栏 */
.topBar {
  color: white;
  padding: 10px 15px;
}
.topBar {
  img {

  width: 100%;
  height: 100%;
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.searchBox {
  display: flex;
  gap: 5px;
  align-items: center;
  flex: 1;
  max-width: 200px;
  padding: 5px 15px;
  border: none;
  border-radius: 20px;
  background-color: #edeffe;
  span {
    color: #82858e;
  }
}

.headerRight {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 服务类别导航 */
.serviceTabs {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  width: 100%;
}

.tab {
  white-space: nowrap;
  letter-spacing: 3px;
  color: #bdd2ff;
  font-size: 18px;
}

.tabActive {
  color: #f7fffc;
  font-weight: bold;
  font-size: 25px;
}

.serviceHall {
  width: 95px;
  transform: translateY(-5px);
  img {
    width: 100%;
    height: 100%;
  }
}

/* 用户信息卡片 */
.userCard {
  background-color: white;
  border-radius: 10px;
  margin: 10px 15px;
  padding: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  .userInfoLeft {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 15px;
    font-weight: 500;
    .location {
      font-size: 14px;
    }
    .eyeIcon {
      width: 20px;
      transform: translateY(-3px);
      img {
        width: 100%;
        height: 100%;
      }
    }
  }
}

.userInfo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.switchNumber {
  border-radius: 15px;
  padding: 0 5px;
  font-size: 14px;
  color: #949597;
  border: 0.5px solid #c3c3c5;
}

.userStats {
  width: 100%;
  overflow-x: scroll;
  --webkit-overflow-scrolling: touch;

  .userStatsBox {
    width: fit-content;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 25px;
    .statItem {
      flex-shrink: 0;
      width: fit-content;
      display: flex;
      flex-direction: column;
      align-items: center;
      .statValue {
        .statValueNum {
          font-size: 26px;
          font-weight: bold;
        }
        .statValueDecimal {
          font-size: 17px;
          font-weight: bold;
        }
        .statValueUnit {
          font-size: 14px;
          font-weight: bold;
        }
      }
      .statLabel {
        font-size: 15px;
        color: #9f9f9f;
      }
      .btmBtn {
        display: flex;
        justify-items: center;
        align-items: center;
        padding: 5px 20px;
        border-radius: 10px;
        background-color: #f5f5f5;
        border: 1px solid #e7e7e7;
        margin-top: 10px;
      }
      .btmImg {
        width: 88px;
        img {
          width: 100%;
          height: 100%;
        }
      }
    }
  }
}
.userStats::-webkit-scrollbar {
  display: none;

}

/* 快捷功能区 */
.quickFunctions {
  display: flex;
  flex-wrap: wrap;
  background-color: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
  padding: 10px;
  img {
    width: 100%;
    height: 100%;
  }
}

/* 广告横幅 */
.banner {
  background-color: #fcfcfc;
  img {
    width: 100%;
    height: 100%;
  }
}

/* 热门精选 */
.hotSection {
  background-color: #fcfcfc;
  padding: 10px;
    img {
    width: 100%;
    height: 100%;
  }
}


/* 服务分类区 */
.categorySection {
  background-color: white;
  border-radius: 10px;
  margin: 0 15px 15px;
  padding: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sectionSubtitle {
  color: #1e90ff;
  margin-bottom: 15px;
  font-size: 14px;
}

.categoryItems {
  display: flex;
  flex-wrap: wrap;
}

.categoryItem {
  flex: 1 0 25%;
  text-align: center;
  margin-bottom: 15px;
}

.itemIcon {
  font-size: 24px;
  margin-bottom: 5px;
  color: #1e90ff;
}

.itemName {
  font-weight: bold;
  margin-bottom: 3px;
}

.itemDesc {
  font-size: 12px;
  color: #666;
}

/* 底部导航 */
.bottomNav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: white;
  padding: 7px 0;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
}

.navIcon {
  width: 25px;
  img{
    width: 100%;
    height: 100%;
  }
}

